<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8" />
    <meta name="keywords" content="<#:C('keyword')#>"/>
    <meta name="description" content="<#:C('content')#>"/>
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title><#:C('sitename')#>--会员中心</title>
<include file="Pub:Css"/>
<link rel="stylesheet" href="<#$Theme['P']['root']#>/matrix/css/uniform.css" />
<link rel="stylesheet" href="<#$Theme['P']['root']#>/matrix/css/select2.css" />
</head>
<body>
   <include file="Pub:top"/>
   <include file="Pub:nav"/>

    <div id="content">
    <div id="content-header">
      <div id="breadcrumb"> <a href="<#:U('user/index')#>" title="返回首页" class="tip-bottom"><i class="icon-home"></i>首页</a>  <a href="#" class="current">商户信息</a>
    </div>
      <h1>商户信息</h1>
    </div>
    <div class="container-fluid">
      <hr>
      <div class="row-fluid">
        <div class="span8">
          <div class="widget-box">
            <div class="widget-title"> <span class="icon"> <i class="icon-align-justify"></i> </span>
              <h5>编辑</h5>
            </div>
            <div class="widget-content nopadding">
            <form action="/index.php?m=User&a=doindex" method="post" class="form-horizontal">

                <div class="control-group">
                  <label class="control-label">商户名称 :</label>
                  <div class="controls">
                    <input type="text" class="span11" placeholder="商户名称"  name="shopname" id="shopname" value="<#$info.shopname#>" />
                    <span class="help-block">输入您商铺的名称，该名称将显示在认证页面顶部。</span>
                  </div>
                </div>
                <div class="control-group">
                  <label class="control-label">联系人 :</label>
                  <div class="controls">
                    <input type="text" class="span11" placeholder="联系人" name="linker" id="linker" value="<#$info.linker#>" maxlength="20"/>
                  </div>
                </div>
                <div class="control-group">
                  <label class="control-label">手机号码 :</label>
                  <div class="controls">
                    <input type="text"  class="span11" placeholder="手机号码"  name="phone" id="phone" value="<#$info.phone#>" maxlength="11"/>
                  </div>
                </div>
                <div class="control-group">
                  <label class="control-label">消费水平:</label>
                  <div class="controls">
                  <volist name="enumdata.shoplevel" id="vo">
                    <label class="radio inline">
                      <input type="radio" value="<#$vo.key#>" name="shoplevel" <eq name="info['shoplevel']" value="$vo.key">checked</eq> /><#$vo.txt#>
                    </label>
                  </volist>

                  </div>
                </div>
                <div class="control-group">
                  <label class="control-label">行业类型:</label>
                  <div class="controls">
                   <volist name="enumdata.trades" id="vo">
                        <label class="radio inline">
                            <input type="radio" value="<#$vo.key#>" name="trade" <eq name="info['trade']" value="$vo.key">checked</eq> /><#$vo.txt#>
                        </label>
                   </volist>
                   <span class="help-block">选择您所处的行业类型</span>
                  </div>
                </div>
                 <div class="control-group">
                  <label class="control-label">商圈选择:</label>
                  <div class="controls">
                      <select name="province" id="province" class="span3"></select>
                      <select name="city" id="city" class="span3"></select>
                      <select name="area" id="area" class="span3"></select>
                  </div>
                </div>
                <div class="control-group">
                  <label class="control-label">店铺地址 :</label>
                  <div class="controls">
                    <input type="text" class="span11" placeholder="店铺地址 " name="address" id="address" value="<#$info.address#>"/>
                   <span class="help-block">输入店铺的所在地址。</span>
                  </div>
                </div>

                <div class="form-actions">
                  <button type="submit" class="btn btn-success">保存</button>
                </div>
              </form>
            </div>
          </div>
        </div>
      </div>

    </div></div>
   <include file="Pub:foot"/>
<script src="<#$Theme['P']['root']#>/matrix/js/jquery.min.js"></script> 
<script src="<#$Theme['P']['root']#>/matrix/js/jquery.ui.custom.js"></script> 
<script src="<#$Theme['P']['root']#>/matrix/js/bootstrap.min.js"></script> 
<script src="<#$Theme['P']['root']#>/matrix/js/matrix.js"></script> 
<script src="<#$Theme['P']['root']#>/matrix/js/jquery.uniform.js"></script> 
<script src="<#$Theme['P']['root']#>/matrix/js/select2.min.js"></script>
<script src="<#$Theme['P']['js']#>/jsaddress.js"></script>
    <script type="text/javascript">
        addressInit('province', 'city', 'area', "<#$info['province']#>", '<#$info.city#>', '<#$info.area#>');
    </script>
    <script>
    $(document).ready(function(){
        $('input[type=checkbox],input[type=radio],input[type=file]').uniform();
        $('select').select2();
    });
    $(document).ready(function(){
        $('#member').trigger('click');
    });
    </script>
</body>
</html>
